package org.zxteam.virtualfs;

import com.jcraft.jsch.JSchException;

import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;

public interface IFileSystem {
    Iterable<String> list(final String path) throws JSchException, IOException;
    InputStream openInputStream(final String path) throws JSchException, IOException;
    OutputStream openOutputStream(final String path) throws JSchException, IOException;
    byte[] getHashSHA1(String path) throws IOException, JSchException;
    byte[] getHashSHA512(String path) throws IOException, JSchException;
    byte[] getHashMD5(String path) throws IOException, JSchException;
}
